package com.yelobblog.yelobblog.domain.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

//CREATE TABLE IF NOT EXISTS agent (
//        id INT AUTO_INCREMENT PRIMARY KEY,
//        userId INT NOT NULL,
//        agentName VARCHAR(255) NOT NULL,
//agentDesc TEXT NOT NULL,
//    #     开场白
//agentOpening VARCHAR(255) NOT NULL,
//status TINYINT(2) DEFAULT 0,
//agentAvatar VARCHAR(255) DEFAULT NULL,
//agentBackground VARCHAR(255) DEFAULT NULL,
//createTime TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
//FOREIGN KEY (userId) REFERENCES user(id) ON DELETE CASCADE
//) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class agent {
    private Integer id;
    private Integer userId;
    private String agentName;
    private String agentDesc;
    private String agentOpening;
    private Integer status;
    private String agentAvatar;
    private String agentBackground;
    private String createTime;
}
